export enum Language {
  en="en",
  zhCn="zhCn"
}

export const Message: {[key in Language]: {[prop: string]: string}} = {
  en: {
    simwork: 'Simwork',
    s_start_p: 'Service startup parameters',
    set_param: 'Parameters Setting',
    input_param: 'Please input parameters',
    trigger: 'Trigger',
    speed: 'Speed',
    control_panel: 'Control Panel',
    init_simulation: 'Simulation Initialization',
    start_simulation: 'Start Simulation',
    fUML_start: 'fUML engine is started',
    clear: 'Clear',
    copy: 'Copy',
    export: 'Export',
    set: 'Set',
    debug: 'Debug',
    info: 'Info',
    err: 'Error',
    warning: 'Warning',
    scene: 'Scene',
    ready: 'Ready',
    paused: 'Paused',
    variable: 'Variable',
    name: 'Name',
    value: 'Value',
    remove_value: 'Remove Value',
    start_diagram: 'Start Sequence Diagram',
    break_point: 'Break Point',
    refresh: 'Refresh',
    delete: 'Delete',
    start_using: 'Start Using',
    mount_element: 'Element Mount',
    conditions_precedent: 'Precedent Conditions',
    trigger_type: 'Trigger Type',
    no_data: 'No Data',
    default_is_valid: 'The default value is always valid',
    f_ex_doc: 'Failed to export document',
    copy_succ: 'Copy Successfully',
    s_f_path: 'Select file path',
    ex_doc: 'Exported Documents',
    ex_tables: 'Export Tables',
    sim_time: 'Simulation Time',
    save_as: 'Save file as',
    sim_p_reopen: 'The simulation panel is opened. Whether to reopen it with current simulation object',
    ex_csv_table: 'Export to csv table',
    toggle_mode: 'Toggle display mode',
    sim_clock: 'Simulation Clock',
    v_value: 'Variable Values',
    s_time: 'Sampling Time',
    v_name: 'Variable Name',
    exe: 'Execution',
    ins_fail: 'Instruction Failure',
    fail_get_info: 'Failed to get breakpoint information from model side',
    check_log: 'Please check log',
    f_breakpoint: 'Failed to add breakpoint',
    f_remove_point: 'Failed to remove the breakpoint',
    f_clear_point: 'Failed to clear the breakpoint',
    f_m_point: 'Failed to modify the breakpoint',
    add_m_tree_al: 'The instance data has been added to the model tree',
    ex_fail: 'Export Failure',
    ex_succ: 'Export Successfully',
    recover_mtree: 'The model tree has been restored to its pre-export state',
    f_c_be: 'Failed to communicate with the backend',
    n_exe: 'Exports not executed',
    cancel_or_nopoint: 'You canceled the operation or did not select an export point',
    f_q_point: 'The query for available insertion points failed',
    f_model_be: 'Failed to request the model backend',
    ex_ins_ing: 'Exporting the instance...',
    f_ex_query: 'Export failed. The backend failed to query the selected node information',
    f_be_com: 'The backend failed to query the compatible instance',
    be_error: 'Backend data error: No classifier available to query compatible instances',
    data_add_al: 'Data has been added to the original or specified instance',
    err_log: 'Unknown error, please check log',
    m_error: 'Matlab is not configured correctly',
    m_can_unuse: 'The current Matlab configuration is incorrect, and MatLAB related functions will not be available',
    ins_wait: 'Initialization, please wait',
    cancel: 'Cancel',
    judge: 'Judge',
    yes: "Yes",
    no: 'No',
    tips: 'Tips',
    close: 'Close',
    choose: 'Choose',
    c_path: 'Choose export path',
    confirm: 'Confirm',
    confirm_s: 'Confirm',
    in_invalid: 'Invalid Input',
    in_va_style: 'Please input valid data type',
    success: 'Success',
    check: 'Check',
    ex_p: 'Document exported,please',
    ins_exis: 'Instance Exist',
    ins_new: 'New Instance',
    add_value: 'Add Value',
    p_wait: 'Please Wait...',
    saving: 'Saveing...',
    auto_d_switch: 'Auto Switch Diagram',
    ini: 'Initialization',
    _start: 'Start',
    _puase: 'Pause',
    _continue: 'Continue',
    _step: 'Step',
    _stop: "Stop",
    image_switcher: 'Image Switcher',
    export_interaction: 'Export Interaction Diagram',
    _act_record_export: 'ACT Record Export',
    _num: 'Num',
    _f_action: 'First Action',
    _s_action: 'Second Action',
    _b_name: 'Behavior Name',
    _owner: 'Owner',
    _o_name: 'Out Name',
    _o_t: 'Out Type',
    _o_c: 'Out Content',
    _i_name: 'In Name',
    _i_t: 'In Type',
    _i_c: 'In Content',
    _act_o_record: 'Act Object Record',
    _no_data: 'No Data',
    _close_act_record: 'This action will close the window and clear the data!',
    _exporting: 'Exporting...',
    opr_error: 'Operation Error',
    _sim_end: 'Simulation Engine End',
    _save_location: 'Check Save Path',
    _active_pin_record: 'ActivePinRecord',
  },
  zhCn: {
    _active_pin_record: '活动栓记录',
    _save_location: '选择保存位置',
    _sim_end: '仿真引擎结束',
    opr_error: '操作失败',
    _exporting: '导出中...',
    _i_name: '输入物质名称',
    _i_t: '输入物质类型',
    _i_c: '输入物质内容',
    _close_act_record: '该操作将关闭窗口且清空已记录数据!',
    _no_data: '暂无数据',
    _act_o_record: '活动图物质记录',
    _o_t: '输出物质类型',
    _o_c: '输出物质内容',
    _o_name: '输出物质名称',
    _owner: '所有者',
    _b_name: '行为名称',
    _f_action: '第一个动作名称',
    _s_action: '第二个动作名称',
    _num: '序号',
    _act_record_export: '活动图记录导出',
    image_switcher: '图片切换器',
    _stop: "终止",
    _step: '单步',
    _continue: '继续',
    _puase: '暂停',
    _start: '运行',
    ini: '初始化',
    auto_d_switch: '自动切换视图',
    saving: '保存中...',
    p_wait: '请稍候...',
    add_value: '添加值',
    ins_new: '新实例',
    ins_exis: '已有实例',
    ex_p: '已导出文档，请',
    check: '查看',
    success: '成功',
    in_va_style: '请确保输入正确数据类型',
    in_invalid: '非法输入',
    confirm: '确认',
    confirm_s: '确定',
    c_path: '选择导出位置',
    choose: '选择',
    close: '关闭',
    tips: '提示',
    yes: "是",
    no: '否',
    judge: '判断',
    cancel: '取消',
    ins_wait: '初始化中, 请稍等',
    m_can_unuse: '当前 Matlab 配置不正确，Matlab 相关功能将不可用',
    m_error: 'Matlab 配置不正确',
    err_log: '未知错误，请查看日志',
    data_add_al: '数据已被添加到原有或指定实例上',
    be_error: '后端数据错误：无可用的分类器以查询兼容实例',
    f_be_com: '后端查询兼容实例失败',
    f_ex_query: '导出失败, 后端查询选中节点信息失败',
    ex_ins_ing: '正在导出实例...',
    f_model_be: '请求模型后端失败',
    f_q_point: '查询可用的插入点失败',
    cancel_or_nopoint: '您取消了操作或未选择导出点',
    n_exe: '未执行导出',
    f_c_be: '未能成功与后端通信',
    recover_mtree: '模型树已恢复到导出前状态',
    ex_succ: '导出成功',
    ex_fail: '导出失败',
    add_m_tree_al: '实例数据已被添加到模型树上',
    f_m_point: '修改断点失败',
    f_clear_point: '清空断点失败',
    f_remove_point: '移除断点失败',
    f_breakpoint: '添加断点失败',
    check_log: '请查看日志',
    fail_get_info: '从模型端获取断点信息失败',
    ins_fail: '指令失败',
    exe: '执行',
    v_name: '变量名',
    s_time: '采样时间',
    v_value: '变量值',
    sim_clock: '仿真时钟',
    toggle_mode: '切换显示模式',
    ex_csv_table: '导出到 csv 表格',
    sim_p_reopen: '已有仿真面板开启，是否以当前仿真对象重新打开',
    save_as: '文件另存为',
    sim_time: '仿真时间',
    ex_tables: '导出数据表格',
    ex_doc: '已导出文档',
    s_f_path: '请选择文件路径',
    simwork: '仿真',
    s_start_p: '服务启动参数',
    set_param: '参数设置',
    input_param: '请输入参数',
    trigger: '触发',
    speed: '速度',
    control_panel: '控制台',
    init_simulation: '仿真初始化',
    start_simulation: '仿真开始',
    fUML_start: 'fUML 引擎启动',
    clear: '清空',
    copy: '复制',
    export: '导出',
    set: '设置',
    debug: '调试',
    info: '信息',
    warning: '警告',
    scene: '场景',
    err: '错误',
    ready: '已就绪',
    paused: '已暂停',
    variable: '变量',
    name: '名称',
    value: '值',
    remove_value: '移除值',
    start_diagram: '开启时序图',
    export_interaction: '创建序列图',
    break_point: '断点',
    refresh: '刷新',
    delete: '删除',
    start_using: '启用',
    mount_element: '挂载元素',
    conditions_precedent: '生效条件',
    trigger_type: '触发类型',
    no_data: '暂无数据',
    default_is_valid: '默认为始终生效',
    f_ex_doc: '导出文档失败',
    copy_succ: '复制成功',
  }
};
